<div id="report<%= report_list.id %>" align="right">
<table width="550" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td class="medgray"><strong>报告名称:</strong></td>
		<td class="spanline">&nbsp;</td>
		<td align="right"><strong><%=if report_list.state==1
		link_to h(report_list.name), {:controller=>'report', :action => 'calculatereport', :id => report_list.id},:confirm => "报告还未计算过，现在就计算吗？"
		else
		link_to h(report_list.name), :controller=>'report', :action => 'viewuserreport', :id => report_list.id
		end-%></strong></td>
	</tr>
	<tr height="24">
		<td class="medblack">报告简介:&nbsp;<%=report_list.effective_year%>用户定制报告</td>
		<td align="right" colspan="2"><%=if report_list.state==1
			link_to '编辑',:controller=>'report',:action => 'customizereport', :id => report_list.id
		else
			link_to '编辑',:controller=>'report',:action => 'startreport',:id => report_list.id
		end-%>
		<%= link_to_remote '删除', :url=>{:controller=>"report",:action => 'deletereport', :id => report_list.id},:confirm => "确定删除吗?", 
		:success => "new Effect.Puff('report#{report_list.id}')" %></td>
	</tr>
	<tr height="40" valign="top">
		<td width="300" class="lantou">报告创建于:&nbsp;<%=report_list.created_at.strftime(" %y年%m月%d日 - %H:%M ")%></td>
		<td class="lantou" align="right" colspan="2">共有<%=report_list.reply_times%>&nbsp;条评论</td>
	</tr>
</table>
</div>
